//
// RegularFile.cpp
// Usage: VFS regular file object
// CreateDate: 2009-05-19
// Author: MaJiuyue
//
#include "RegularFile.h"

RegularFile::RegularFile(const char *name, u32 inode, u32 length, FileSystem *fs)
	: File(name, inode, length, fs, FT_REGULAR)
{

}

void RegularFile::open()
{
	File::open();
}

void RegularFile::close()
{
	File::close();
}

int RegularFile::read(int off, size_t size, addr_t buf)
{
	return -1;
}

int RegularFile::write(int off, size_t size, addr_t buf)
{
	return -1;
}

